package org.ds.blog.model;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


import java.sql.Timestamp;
import java.util.Date;

@Data
public class Article {
    private Integer id;
    private String title;
    private String content;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date publishDate;
    private Integer userId;
    private Integer cataId;
    private Integer state;
    private String[] tags;
}
